projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20797a1
)
init: Avoid ABI change for build salt
author
Ben Hutchings
<ben@decadent.org.uk>
Sun, 15 Jul 2018 22:44:02 +0000
(23:44 +0100)
committer
Salvatore Bonaccorso
<carnil@debian.org>
Fri, 20 Jul 2018 21:08:27 +0000
(22:08 +0100)
<linux/build-salt.h> indirectly includes <linux/elf.h>, which
apparently adds some type definitions that change the symbol
version for init_uts_ns.
Hide this change from genksyms.
Gbp-Pq: Topic debian
Gbp-Pq: Name init-avoid-abi-change-for-build-salt.patch
init/version.c
patch
|
blob
|
history
diff --git
a/init/version.c
b/init/version.c
index ef4012ec43751122eea2e55e86f9b5ec8faad3c9..f6449a1481a22a2d96a1fdf3697170c01f2d607d 100644
(file)
--- a/
init/version.c
+++ b/
init/version.c
@@
-7,7
+7,9
@@
*/
#include <generated/compile.h>
+#ifndef __GENKSYMS__
#include <linux/build-salt.h>
+#endif
#include <linux/export.h>
#include <linux/uts.h>
#include <linux/utsname.h>